/**
 * 
 */
package controller;

import database.Database;
import model.*;

/**
 * @author Ken
 *
 */
public class Controller {
	private Model _model;
	public Controller() {
		_model = new Model();
	}
	public Database getDatabase(String name){
		return _model.getDatabase(name);				
	}
	/**
	 * @return the _model
	 */
	public Model get_model() {
		return _model;
	}
	/**
	 * @param _model the _model to set
	 */
	public void set_model(Model _model) {
		this._model = _model;
	}
	public String createDatabase(String name) {
		return _model.createDatabase(name);		
	}
	public String removeDatabase(String name) {
		return _model.removeDatabase(name);
	}
	public String createTable(String dbName, String tbName) {
		return _model.createTable(dbName, tbName);
	}	
}
